package com.ruoyi.project.ins.service.impl;

import com.ruoyi.project.ins.domain.InsConversation;
import com.ruoyi.project.ins.service.IInsConversationService;
import com.ruoyi.project.ins.service.IInsConversationService;
import com.ruoyi.project.mapper.InsConversationMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class InsConversationServiceImpl implements IInsConversationService {
    @Autowired
    private InsConversationMapper insConversationMapper;

    @Override
    public List<InsConversation> selectInsConversationList(InsConversation insConversation) {
        return insConversationMapper.selectInsConversationList(insConversation);
    }

    @Override
    public int insertInsConversation(InsConversation insConversation) {
        return insConversationMapper.insertInsConversation(insConversation);
    }

    @Override
    public int updateInsConversation(InsConversation insConversation) {
        return insConversationMapper.updateInsConversation(insConversation);
    }

    @Override
    public InsConversation selectInsConversationById(Long id) {
        return insConversationMapper.selectInsConversationById(id);
    }
}
